<?php
class Pageley_Controller_Exception extends Pageley_Util_NestedException {

    private $afterViewAction;
    private $model;
		
	public function __construct($message = null, $code = 0, $cause = null, $afterViewAction = null, $model = null) {
		parent::__construct($message, $code, $cause);
		$this->afterViewAction = $afterViewAction;
		$this->model = $model;
	}

    public function getAfterViewAction() {
        return $this->afterViewAction;
    }
    
    public function getModel() {
        return $this->model;
    }
}